package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @ClassName MenPiaoNum
 * @Description 描述
 * @Author HanWL
 * @Date 2023/10/17 23:08
 * @Version 1.0
 **/
@Data
@ApiModel(value = "门票时间及数量接收类", description = "门票时间及数量")
public class MenPiaoTimeVo {

    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "各类型门票数量")
    private List<MenPiaoNumVo> menPiaoNums;

}
